<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改密码-师德师风测评系统</title>
<link rel="Bookmark" href="__PUBLIC__/common/img/favicon.ico" >
<link rel="Shortcut Icon" href="__PUBLIC__/common/img/favicon.ico" />
<script src="../Public/js/jquery.1.7.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/bootstrap/css/bootstrap.min.css">

<link href="../Public/css/login.css" rel="stylesheet" type="text/css" />

<!-- Validform_v5.3.2验证框架 -->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Validform/css/Validform_v5.3.2.css" />
<script type="text/javascript" src="__PUBLIC__/Validform/js/Validform_v5.3.2_min.js"></script>
<include file="Public:baidutongji" />
<script type="text/javascript">
	$(function() {
	var editor;
	var myform=$("#myform").Validform({
		tiptype:3,
		label:".label",
		showAllError:true,
		postonce:true,//开启二次提交防御
		ajaxPost:false,
		beforeSubmit:function(curform) {
			//在验证成功后，表单提交前执行的函数，curform参数是当前表单对象。
			lockScreen();
		},
		callback:function(data){
			$.Hidemsg();
		}
	});
	myform.addRule([
	{
		ele:"#real_name",
		datatype:"*1-100",
        nullmsg:"请输入真实姓名"
	},
	{
		ele:"#pwd",
		datatype:"*6-16",
        nullmsg:"请输入6~16位字符的密码！"
	},
	{
		ele:"#pwd1",
		datatype:"*",
		recheck:"pwd",
        nullmsg:"请再输入一次密码",
        errormsg:"您两次输入的密码不一致！"
	}]);
});
</script>
</head>
<body>
<br>
	<div id="title"><img  style="width: 40%;height: 40%;" src="../Public/img/H1.gif"></div>
	<div style="font-size: 60px; color:#000;" align="center"><b>师德师风信息化监测平台</b></div>
	<br><br>
	<form id="myform" name="myform" method="post"
		action="__APP__?g=Index&m=Index&a=update_pwd">
		<div id="main" style="height:380px;width:60%;">
		<br>
			<h2 style="color:#133B80;">修改密码</h2>
				<div class="unit">
					<label for="real_name">真实姓名：</label> <input type="text"
						id="real_name" name="real_name" placeholder="请输入您的真实姓名" />
				</div>
				<div class="unit">
					<label for="pwd">&nbsp;新密码：
					</label> <input type="password" id="pwd" name="pwd" placeholder="请输入您的密码" />
				</div>
				<div class="unit">
					<label for="pwd1">确认密码：</label> <input type="password" id="pwd1"
						name="pwd1" placeholder="请确认您的密码" />
				</div>
				<br>
			<div class="unit mt-5">
				<a href="javascript:myform.submit();" class="btn btn-success btn-outlined ">&nbsp;修&nbsp;改&nbsp;密&nbsp;码&nbsp;</a>
			</div>
		</div>
	</form>
	<div class="login-bottom" style="width:60%;">
		<a id="wj" href="__APP__?g=Index&m=Index&a=login" style="font-size:20px;margin-left:350px;color:#133B80; text-decoration:none;"><b>返回首页>></b></a>
	</div>
	<br><br><br><br><br>
	<div id="footer" class="student">
		<p>测评单位：西北师范大学</p>
		<p>系统开发：甘肃省数字化教育工程实验室</p>
		<p>技术支持：甘肃省数字化教育工程实验室</p>
		<p>
			<a href="__APP__?g=Admin">[管理员登录]</a>
		</p>
	</div>
</body>
</html>